package cn.kzgg.system.mapper;

import cn.kzgg.system.domain.Role;
import cn.kzgg.basic.mapper.BaseMapper;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author KZGG
 * @since 2022-06-21
 */
public interface RoleMapper extends BaseMapper<Role> {

    void removeRoleMenuByRoleId(Long id);

    void removeRolePermissionByRoleId(Long id);

    void saveRolePermission(Role role);

    void saveRoleMenu(Role role);
}
